package com.itheima.dao;

import com.itheima.pojo.Role;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleMapper extends Mapper<Role> {

    @Select("SELECT * FROM `t_role` where uid <>#{role_id}")
    List<Role>excludeByRoleId(@Param("role_id")String RoleId);
}
